using AutoMapper;
using Zhaoxi.MSACommerce.CategoryService.Core.Entities;
using Zhaoxi.MSACommerce.CategoryService.UseCases.Command;

namespace Zhaoxi.MSACommerce.CategoryService.UseCases;

public class MappingProfile: Profile
{
    public MappingProfile()
    {
        CreateMap<CreateCategoryCommand, CategoryDto>();
        
        CreateMap<ParameterGroup, ParemeterGroupDto>();
        CreateMap<ParameterKey, ParameterKeyDto>();
        
    }
}